package com.wisemoresystem.seal.action_app.version;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.wisemoresystem.seal.base.action.ProjBaseAction;
import com.wisemoresystem.seal.model.t_version;

/**
 * .net调用获取员工,机构信息json
 */

@Controller("ixVersionAction")
@Scope("prototype")
public class VersionAction extends ProjBaseAction {

	@RequestMapping("/version")
	@ResponseBody
	public String version() {

		t_version version = oc.findObjById("2c9d9d814b6be613014b6bec5f1a0034",
				t_version.class);
		return version.getNum();
	}

}
